package com.css.fxfzmh.zcpt.sys.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Dbj
 * @date 2022年08月11日  17:13
 */
public class ReturnAreaTree implements Serializable {
    private String id;
    private String value;
    private String name;
    private String pId;
    private Boolean isLeaf;
    private Boolean isParent;
    private List<ReturnAreaTree> children = new ArrayList<>();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPid() {
        return pId;
    }

    public void setPid(String pId) {
        this.pId = pId;
    }

    public Boolean getLeaf() {
        return isLeaf;
    }

    public void setLeaf(Boolean leaf) {
        isLeaf = leaf;
    }

    public Boolean getParent() {
        return isParent;
    }

    public void setParent(Boolean parent) {
        isParent = parent;
    }

//    public String getIconOpen() {
//        return iconOpen;
//    }
//
//    public void setIconOpen(String iconOpen) {
//        this.iconOpen = iconOpen;
//    }
//
//    public String getIcon() {
//        return icon;
//    }
//
//    public void setIcon(String icon) {
//        this.icon = icon;
//    }

//    public String getIconClose() {
//        return iconClose;
//    }
//
//    public void setIconClose(String iconClose) {
//        this.iconClose = iconClose;
//    }

    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

//    public String getData() {
//        return data;
//    }
//
//    public void setData(String data) {
//        this.data = data;
//    }

    //private String iconOpen;
    //private String icon;
    //private String iconClose;
    private Boolean open;
    //private String data;

    public List<ReturnAreaTree> getChildren() {
        return children;
    }

    public void setChildren(List<ReturnAreaTree> children) {
        this.children = children;
    }
}
